import Layout from '@/layout'

export default {
    path: '/backend',
    component: Layout,
    name: 'backend',
    meta: { title: '后台管理', icon: 'people' },
    children: [
        {
            path: 'user',
            component: () => import('@/views/backend/User.vue'),
            meta: { title: '用户', icon: 'component' },
        },
        {
            path: 'menu',
            component: () => import('@/views/backend/Menu.vue'),
            meta: { title: '菜单', icon: 'component' },
        },
        {
            path: 'permission',
            component: () => import('@/views/backend/Permission.vue'),
            meta: { title: '权限', icon: 'component' },
        },
        {
            path: 'log',
            component: () => import('@/views/backend/Log.vue'),
            meta: { title: '日志', icon: 'component' },
        },
    ]
}
